<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>6_元素溢出</title>
    <style>
        div{
            border: 10px solid #00f;
            /*注意:想要溢出必须要先设置div的大小，否则会被内容撑大，不会溢出*/
            width: 300px;
            height: 1800px;
            overflow: visible;/*溢出可见*/
            overflow: hidden;/*溢出隐藏 多余的部分直接隐藏*/
            overflow: scroll;/*溢出显示拖拽条*/
            overflow: auto;/*哪个方向溢出就自动显示拖拽条*/
        }
        img{
            width: 200px;
            vertical-align: baseline;/*基线对齐 默认值*/
            vertical-align: bottom;/*底线对齐*/
            vertical-align: top;/*顶线对齐*/
            vertical-align: middle;/*中线对齐*/
        }
    </style>
</head>
<body>
    abyj<img src="../day01/1.png">国圈<img src="../day01/1.png">
    <div>
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
        <img src="../day01/1.png" alt="">
    </div>
</body>
</html>